home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / emacs.lha / emacs-19.16 / configure.in < prev    next >
Text File  |  1993-07-06  |  32KB  |  1,219 lines

  1. dnl This is an autoconf script.
  2. dnl To rebuild the `configure' script from this, execute the command
  3. dnl     autoconf
  4. dnl in the directory containing this script.  You must have autoconf
  5. dnl version 1.4 or later.
  6. dnl
  7. dnl The following text appears in the resulting `configure' script,
  8. dnl explaining how to rebuild it.
  9. [#!/bin/sh
  10. #### Configuration script for GNU Emacs
  11. #### Copyright (C) 1992 Free Software Foundation, Inc.
  12.  
  13. ### Don't edit this script!
  14. ### This script was automatically generated by the `autoconf' program
  15. ### from the file `./configure.in'.
  16. ### To rebuild it, execute the command
  17. ###    autoconf
  18. ### in the this directory.  You must have autoconf version 1.4 or later.
  19.  
  20. ### This file is part of GNU Emacs.
  21.  
  22. ### GNU Emacs is free software; you can redistribute it and/or modify
  23. ### it under the terms of the GNU General Public License as published by
  24. ### the Free Software Foundation; either version 1, or (at your option)
  25. ### any later version.
  26.  
  27. ### GNU Emacs is distributed in the hope that it will be useful,
  28. ### but WITHOUT ANY WARRANTY; without even the implied warranty of
  29. ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  30. ### GNU General Public License for more details.
  31.  
  32. ### You should have received a copy of the GNU General Public License
  33. ### along with GNU Emacs; see the file COPYING.  If not, write to
  34. ### the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  35.  
  36.  
  37. ### Since Emacs has configuration requirements that autoconf can't
  38. ### meet, this file is an unholy marriage of custom-baked
  39. ### configuration code and autoconf macros.
  40. ###
  41. ### We use the m4 quoting characters [ ] (as established by the
  42. ### autoconf system) to include large sections of raw sewage - Oops, I
  43. ### mean, shell code - in the final configuration script.
  44. ###
  45. ### Usage: configure config_name
  46. ###
  47. ### If configure succeeds, it leaves its status in config.status.
  48. ### If configure fails after disturbing the status quo,
  49. ###     config.status is removed.
  50.  
  51.  
  52. ### Remove any more than one leading "." element from the path name.
  53. ### If we don't remove them, then another "./" will be prepended to
  54. ### the file name each time we use config.status, and the program name
  55. ### will get larger and larger.  This wouldn't be a problem, except
  56. ### that since progname gets recorded in all the Makefiles this script
  57. ### produces, move-if-change thinks they're different when they're
  58. ### not.
  59. ###
  60. ### It would be nice if we could put the ./ in a \( \) group and then
  61. ### apply the * operator to that, so we remove as many leading ./././'s
  62. ### as are present, but some seds (like Ultrix's sed) don't allow you to
  63. ### apply * to a \( \) group.  Bleah.
  64. progname="`echo $0 | sed 's:^\./\./:\./:'`"
  65.  
  66.  
  67. #### Usage messages.
  68.  
  69. short_usage="Usage: ${progname} CONFIGURATION [-OPTION[=VALUE] ...]
  70.  
  71. Set compilation and installation parameters for GNU Emacs, and report.
  72. CONFIGURATION specifies the machine and operating system to build for.
  73. --with-x        Support the X Window System.
  74. --with-x=no        Don't support X.
  75. --x-includes=DIR     Search for X header files in DIR.
  76. --x-libraries=DIR    Search for X libraries in DIR.
  77. --with-gcc        Use GCC to compile Emacs.
  78. --with-gcc=no        Don't use GCC to compile Emacs.
  79. --run-in-place        Use libraries and data files directly out of the 
  80.             source tree.
  81. --srcdir=DIR        Look for source in DIR.
  82. --prefix=DIR        Install files below dir.
  83.  
  84. If successful, ${progname} leaves its status in config.status.  If
  85. unsuccessful after disturbing the status quo, it removes config.status."
  86.  
  87.  
  88. #### Option processing.
  89.  
  90. ### Record all the arguments, so we can save them in config.status.
  91. arguments="$@"
  92.  
  93. ### These values are used to comment and uncomment different values
  94. ### for the path variables in the Makefile, to choose the installed
  95. ### configuration or the run-in-place configuration.
  96. rip_paths='#disabled# '
  97. inst_paths=''
  98.  
  99. ### Establish some default values.
  100. prefix='/usr/local'
  101. exec_prefix='${prefix}'
  102.  
  103. ### Don't use shift -- that destroys the argument list, which autoconf needs
  104. ### to produce config.status.  It turns out that "set - ${arguments}" doesn't
  105. ### work portably.
  106. index=0
  107. while [ $index -lt $# ]; do
  108.   index=`expr $index + 1`
  109.   arg=`eval echo '$'$index`
  110.   case "${arg}" in
  111.  
  112.     ## Anything starting with a hyphen we assume is an option.
  113.     -* )
  114.  
  115.       ## Separate the switch name from the value it's being given.
  116.       case "${arg}" in
  117.         -*=*)
  118.       opt=`echo ${arg} | sed 's:^-*\([^=]*\)=.*$:\1:'`
  119.       val=`echo ${arg} | sed 's:^-*[^=]*=\(.*\)$:\1:'`
  120.       valomitted=no
  121.     ;;
  122.         -*)
  123.           ## If FOO is a boolean argument, --FOO is equivalent to
  124.           ## --FOO=yes.  Otherwise, the value comes from the next
  125.           ## argument - see below.
  126.       opt=`echo ${arg} | sed 's:^-*\(.*\)$:\1:'`
  127.           val="yes"
  128.           valomitted=yes
  129.         ;;
  130.       esac
  131.  
  132.       ## Change `-' in the option name to `_'.
  133.       optname="${opt}"
  134.       opt="`echo ${opt} | tr - _`"
  135.  
  136.       ## Process the option.
  137.       case "${opt}" in
  138.  
  139.         ## Has the user specified which window systems they want to support?
  140.         "with_x" | "with_x11" | "with_x10" )
  141.       ## Make sure the value given was either "yes" or "no".
  142.       case "${val}" in
  143.         y | ye | yes )    val=yes ;;
  144.         n | no )        val=no  ;;
  145.         * )
  146.           (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value.
  147. Set it to either \`yes' or \`no'."
  148.            echo "${short_usage}") >&2
  149.           exit 1
  150.         ;;
  151.       esac
  152.           eval "${opt}=\"${val}\""
  153.         ;;
  154.  
  155.     ## Has the user specified whether or not they want GCC?
  156.     "with_gcc" | "with_gnu_cc" )
  157.       ## Make sure the value given was either "yes" or "no".
  158.       case "${val}" in
  159.         y | ye | yes )    val=yes ;;
  160.         n | no )        val=no  ;;
  161.         * )
  162.           (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value.
  163. Set it to either \`yes' or \`no'."
  164.            echo "${short_usage}") >&2
  165.           exit 1
  166.         ;;
  167.       esac
  168.           eval "${opt}=\"${val}\""
  169.         ;;
  170.  
  171.         ## Has the user specified a source directory?
  172.     "srcdir" )
  173.       ## If the value was omitted, get it from the next argument.
  174.       if [ "${valomitted}" = "yes" ]; then
  175.         ## Get the next argument from the argument list, if there is one.
  176.             if [ $index = $# ]; then
  177.           (echo "${progname}: You must give a value for the \`--${optname}' option, as in
  178.     \`--${optname}=FOO'."
  179.            echo "${short_usage}") >&2
  180.           exit 1
  181.         fi
  182.             index=`expr $index + 1`
  183.             val=`eval echo '$'$index`
  184.       fi
  185.           srcdir="${val}"
  186.     ;;
  187.  
  188.     ## Has the user tried to tell us where the X files are?
  189.     ## I think these are dopey, but no less than three alpha
  190.     ## testers, at large sites, have said they have their X files
  191.     ## installed in odd places.
  192.     "x_includes" )
  193.       ## If the value was omitted, get it from the next argument.
  194.       if [ "${valomitted}" = "yes" ]; then
  195.         ## Get the next argument from the argument list, if there is one.
  196.             if [ $index = $# ]; then
  197.           (echo "${progname}: You must give a value for the \`--${optname}' option, as in
  198.     \`--${optname}=FOO'."
  199.            echo "${short_usage}") >&2
  200.           exit 1
  201.         fi
  202.             index=`expr $index + 1`
  203.             val=`eval echo '$'$index`
  204.       fi
  205.       x_includes="${val}"
  206.       C_SWITCH_X_SITE="-I\"${x_includes}\""
  207.         ;;
  208.     "x_libraries" )
  209.       ## If the value was omitted, get it from the next argument.
  210.       if [ "${valomitted}" = "yes" ]; then
  211.         ## Get the next argument from the argument list, if there is one.
  212.             if [ $index = $# ]; then
  213.           (echo "${progname}: You must give a value for the \`--${optname}' option, as in
  214.     \`--${optname}=FOO'."
  215.            echo "${short_usage}") >&2
  216.           exit 1
  217.         fi
  218.             index=`expr $index + 1`
  219.             val=`eval echo '$'$index`
  220.       fi
  221.       x_libraries="${val}"
  222.       LD_SWITCH_X_SITE="-L\"${x_libraries}\""
  223.         ;;
  224.  
  225.     ## Should this use the "development configuration"?
  226.     "run_in_place" )
  227.       rip_paths=''
  228.       inst_paths='#disabled# '
  229.     ;;
  230.  
  231.     ## Has the user specified an installation prefix?
  232.     "prefix" )
  233.       ## If the value was omitted, get it from the next argument.
  234.       if [ "${valomitted}" = "yes" ]; then
  235.         ## Get the next argument from the argument list, if there is one.
  236.             if [ $index = $# ]; then
  237.           (echo "${progname}: You must give a value for the \`--${optname}' option, as in
  238.     \`--${optname}=FOO'."
  239.            echo "${short_usage}") >&2
  240.           exit 1
  241.         fi
  242.             index=`expr $index + 1`
  243.             val=`eval echo '$'$index`
  244.       fi
  245.       prefix="${val}"
  246.         ;;
  247.  
  248.     ## Has the user specified an installation prefix?
  249.     "exec_prefix" )
  250.       ## If the value was omitted, get it from the next argument.
  251.       if [ "${valomitted}" = "yes" ]; then
  252.         ## Get the next argument from the argument list, if there is one.
  253.             if [ $index = $# ]; then
  254.           (echo "${progname}: You must give a value for the \`--${optname}' option, as in
  255.     \`--${optname}=FOO'."
  256.            echo "${short_usage}") >&2
  257.           exit 1
  258.         fi
  259.             index=`expr $index + 1`
  260.             val=`eval echo '$'$index`
  261.       fi
  262.       exec_prefix="${val}"
  263.         ;;
  264.  
  265.     ## Verbose flag, tested by autoconf macros.
  266.     "verbose" )
  267.       verbose=yes
  268.     ;;
  269.  
  270.     ## Has the user asked for some help?
  271.     "usage" | "help" )
  272.       echo "${short_usage}" | more
  273.       exit
  274.     ;;
  275.  
  276.         ## We ignore all other options silently.
  277.       esac
  278.     ;;
  279.  
  280.     ## Anything not starting with a hyphen we assume is a
  281.     ## configuration name.
  282.     *)
  283.       configuration=${arg}
  284.     ;;
  285.  
  286.   esac
  287. done
  288.  
  289. if [ "${configuration}" = "" ]; then
  290.   echo '- You did not tell me what kind of host system you want to configure.
  291. - I will attempt to guess the kind of system this is.' 1>&2
  292.   guesssys=`echo ${progname} | sed 's/configure$/config.guess/'`
  293.   if configuration=`${guesssys}` ; then
  294.     echo "- Looks like this is a ${configuration}" 1>&2
  295.   else
  296.     echo '- Failed to guess the system type.  You need to tell me.' 1>&2
  297.     echo "${short_usage}" >&2
  298.     exit 1
  299.   fi
  300. fi
  301.  
  302. #### Decide where the source is.
  303. case "${srcdir}" in
  304.  
  305.   ## If it's not specified, see if  `.' or `..' might work.
  306.   "" )
  307.     confdir=`echo $0 | sed 's|//|/|' | sed 's|/[^/]*$||'`
  308.     if [ -f $confdir/src/lisp.h -a -f $confdir/lisp/version.el ]; then
  309.       srcdir="${confdir}"
  310.     else
  311.       if [ -f "./src/lisp.h" -a -f "./lisp/version.el" ]; then
  312.         srcdir='.'
  313.       else
  314.         if [ -f "../src/lisp.h" -a -f "../lisp/version.el" ]; then
  315.       srcdir='..'
  316.         else
  317.       (echo "\
  318. ${progname}: Neither the current directory nor its parent seem to
  319. contain the Emacs sources.  If you do not want to build Emacs in its
  320. source tree, you should run \`${progname}' in the directory in which
  321. you wish to build Emacs, using its \`--srcdir' option to say where the
  322. sources may be found."
  323.         echo "${short_usage}") >&2
  324.       exit 1
  325.         fi
  326.       fi
  327.     fi
  328.   ;;
  329.  
  330.   ## Otherwise, check if the directory they specified is okay.
  331.   * )
  332.     if [ ! -d "${srcdir}" -o ! -f "${srcdir}/src/lisp.h" -o ! -f "${srcdir}/lisp/version.el" ]; then
  333.       (echo "\
  334. ${progname}: The directory specified with the \`--srcdir' option,
  335. \`${srcdir}', doesn't seem to contain the Emacs sources.  You should
  336. either run the \`${progname}' script at the top of the Emacs source
  337. tree, or use the \`--srcdir' option to specify where the Emacs sources
  338. are."
  339.        echo "${short_usage}") >&2
  340.       exit 1
  341.     fi
  342.   ;;
  343. esac
  344.  
  345. #### Make srcdir absolute, if it isn't already.  It's important to
  346. #### avoid running the path through pwd unnecessary, since pwd can
  347. #### give you automounter prefixes, which can go away.
  348. case "${srcdir}" in
  349.   /* ) ;;
  350.   . )
  351.     ## We may be able to use the $PWD environment variable to make this
  352.     ## absolute.  But sometimes PWD is inaccurate.
  353.     if [ "${PWD}" != "" ] && [ "`(cd ${PWD} ; pwd)`" = "`pwd`" ] ; then
  354.       srcdir="$PWD"
  355.     else
  356.       srcdir="`(cd ${srcdir}; pwd)`"
  357.     fi
  358.   ;;
  359.   *  ) srcdir="`(cd ${srcdir}; pwd)`" ;;
  360. esac
  361.  
  362. #### Make sure that the source directory doesn't already have a
  363. #### configured system in it.
  364. if [ `pwd` != `(cd ${srcdir} && pwd)` ] \
  365.    && [ -f "${srcdir}/src/config.h" ] ; then
  366.   (echo "${progname}: the directory tree \`${srcdir}' is being used"
  367.    echo "   as a build directory right now; it has been configured in its own"
  368.    echo "   right.  You can't use srcdir in this situation.") >&2
  369.   exit 1
  370. fi
  371.  
  372. ### Make the necessary directories, if they don't exist.
  373. for dir in ./src ./lib-src ./cpp ./oldXMenu ./etc ; do
  374.   if [ ! -d ${dir} ]; then
  375.     mkdir ${dir}
  376.   fi
  377. done
  378.  
  379. #### Given the configuration name, set machfile and opsysfile to the
  380. #### names of the m/*.h and s/*.h files we should use.
  381.  
  382. ### Canonicalize the configuration name.
  383. echo "Checking the configuration name."
  384. if configuration=`${srcdir}/config.sub "${configuration}"` ; then : ; else
  385.   exit $?
  386. fi
  387.  
  388. ### If you add support for a new configuration, add code to this
  389. ### switch statement to recognize your configuration name and select
  390. ### the appropriate operating system and machine description files.
  391.  
  392. ### You would hope that you could choose an m/*.h file pretty much
  393. ### based on the machine portion of the configuration name, and an s-
  394. ### file based on the operating system portion.  However, it turns out
  395. ### that each m/*.h file is pretty manufacturer-specific - for
  396. ### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are
  397. ### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS
  398. ### machines.  So we basically have to have a special case for each
  399. ### configuration name.
  400. ###
  401. ### As far as handling version numbers on operating systems is
  402. ### concerned, make sure things will fail in a fixable way.  If
  403. ### /etc/MACHINES doesn't say anything about version numbers, be
  404. ### prepared to handle anything reasonably.  If version numbers
  405. ### matter, be sure /etc/MACHINES says something about it.
  406. ###
  407. ### Eric Raymond says we should accept strings like "sysvr4" to mean
  408. ### "System V Release 4"; he writes, "The old convention encouraged
  409. ### confusion between `system' and `release' levels'."
  410.  
  411. machine='' opsys='' unported='false'
  412. case "${configuration}" in
  413.  
  414.   ## Alliant machines
  415.   ## Strictly speaking, we need the version of the alliant operating
  416.   ## system to choose the right machine file, but currently the
  417.   ## configuration name doesn't tell us enough to choose the right
  418.   ## one; we need to give alliants their own operating system name to
  419.   ## do this right.  When someone cares, they can help us.
  420.   fx80-alliant-* )
  421.     machine=alliant4 opsys=bsd4-2
  422.   ;;
  423.   i860-alliant-* )
  424.     machine=alliant-2800 opsys=bsd4-3
  425.   ;;
  426.  
  427.   ## Altos 3068
  428.   m68*-altos-sysv* )
  429.     machine=altos opsys=usg5-2
  430.   ;;
  431.     
  432.   ## Amdahl UTS
  433.   580-amdahl-sysv* )
  434.     machine=amdahl opsys=usg5-2-2
  435.   ;;
  436.  
  437.   ## Appallings - I mean, Apollos - running Domain
  438.   m68*-apollo* )
  439.     machine=apollo opsys=bsd4-2
  440.   ;;
  441.  
  442.   ## AT&T 3b2, 3b5, 3b15, 3b20
  443.   we32k-att-sysv* )
  444.     machine=att3b opsys=usg5-2-2
  445.   ;;
  446.  
  447.   ## AT&T 3b1 - The Mighty Unix PC!
  448.   m68*-att-sysv* )
  449.     machine=7300 opsys=usg5-2-2
  450.   ;;
  451.  
  452.   ## Bull sps7
  453.   m68*-bull-sysv* )
  454.     machine=sps7 opsys=usg5-2
  455.   ;;
  456.  
  457.   ## CCI 5/32, 6/32 -- see "Tahoe".
  458.  
  459.   ## Celerity
  460.   ## I don't know what configuration name to use for this; config.sub
  461.   ## doesn't seem to know anything about it.  Hey, Celerity users, get
  462.   ## in touch with us!
  463.   celerity-celerity-bsd* )
  464.     machine=celerity opsys=bsd4-2
  465.   ;;
  466.  
  467.   ## Clipper
  468.   ## What operating systems does this chip run that Emacs has been
  469.   ## tested on?
  470.   clipper-* )
  471.     machine=clipper
  472.     ## We'll use the catch-all code at the bottom to guess the
  473.     ## operating system.
  474.   ;;
  475.  
  476.   ## Convex
  477.   *-convex-bsd* )
  478.     machine=convex opsys=bsd4-3
  479.   ;;
  480.  
  481.   ## Cubix QBx/386
  482.   i386-cubix-sysv* )
  483.     machine=intel386 opsys=usg5-3
  484.   ;;
  485.  
  486.   ## Cydra 5
  487.   cydra*-cydrome-sysv* )
  488.     machine=cydra5 opsys=usg5-3
  489.   ;;
  490.  
  491.   ## Data General AViiON Machines
  492.   m88k-dg-dgux* )
  493.     machine=aviion opsys=dgux
  494.   ;;
  495.  
  496.   ## DECstations
  497.   mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0 | mips-dec-bsd4.2 )
  498.     machine=pmax opsys=bsd4-2
  499.   ;;
  500.   mips-dec-ultrix* | mips-dec-bsd* )
  501.     machine=pmax opsys=bsd4-3
  502.   ;;
  503.   mips-dec-osf* )
  504.     machine=pmax opsys=osf1
  505.   ;;
  506.  
  507.   ## Motorola Delta machines
  508.   m68*-motorola-sysv* )
  509.     machine=delta opsys=usg5-3
  510.   ;;
  511.   m88k-motorola-sysv4* )
  512.     machine=delta88k opsys=usg5-4
  513.   ;;
  514.   m88k-motorola-sysv* | m88k-motorola-m88kbcs* )
  515.     machine=delta88k opsys=usg5-3
  516.   ;;
  517.  
  518.   ## Dual machines
  519.   m68*-dual-sysv* )
  520.     machine=dual opsys=usg5-2
  521.   ;;
  522.   m68*-dual-uniplus* )
  523.     machine=dual opsys=unipl5-2
  524.   ;;
  525.  
  526.   ## Elxsi 6400
  527.   elxsi-elxsi-sysv* )
  528.     machine=elxsi opsys=usg5-2
  529.   ;;
  530.  
  531.   ## Encore machines
  532.   ns16k-encore-bsd* )
  533.     machine=ns16000 opsys=umax
  534.   ;;
  535.  
  536.   ## The GEC 93 - apparently, this port isn't really finished yet.
  537.  
  538.   ## Gould Power Node and NP1
  539.   pn-gould-bsd4.2 )
  540.     machine=gould opsys=bsd4-2
  541.   ;;
  542.   pn-gould-bsd4.3 )
  543.     machine=gould opsys=bsd4-3
  544.   ;;
  545.   np1-gould-bsd* )
  546.     machine=gould-np1 opsys=bsd4-3
  547.   ;;
  548.  
  549.   ## Honeywell XPS100
  550.   xps*-honeywell-sysv* )
  551.     machine=xps100 opsys=usg5-2
  552.   ;;
  553.  
  554.   ## HP 9000 series 200 or 300
  555.   m68*-hp-bsd* )
  556.     machine=hp9000s300 opsys=bsd4-3
  557.   ;;
  558.   ## HP/UX 7, 8 and 9 are supported on these machines.
  559.   m68*-hp-hpux* )
  560.     case "`uname -r`" in
  561.       *.08.* ) machine=hp9000s300 opsys=hpux8 ;;
  562.       *.09.* ) machine=hp9000s300 opsys=hpux9 ;;
  563.       *) machine=hp9000s300 opsys=hpux ;;
  564.     esac
  565.   ;;
  566.  
  567.   ## HP 9000 series 700 and 800, running HP/UX
  568.   hppa*-hp-hpux7* )
  569.     machine=hp9000s800 opsys=hpux
  570.   ;;
  571.   hppa*-hp-hpux8* )
  572.     machine=hp9000s800 opsys=hpux8
  573.   ;;
  574.   hppa*-hp-hpux9* )
  575.     machine=hp9000s800 opsys=hpux9
  576.   ;;
  577.  
  578.   ## HP 9000 series 700 and 800, running HP/UX
  579.   hppa*-hp-hpux* )
  580.     ## Cross-compilation?  Nah!
  581.     case "`uname -r`" in
  582.       *.08.* ) machine=hp9000s800 opsys=hpux8 ;;
  583.       *.09.* ) machine=hp9000s800 opsys=hpux9 ;;
  584.       *) machine=hp9000s800 opsys=hpux ;;
  585.     esac
  586.   ;;
  587.  
  588.   ## Orion machines
  589.   orion-orion-bsd* )
  590.     machine=orion opsys=bsd4-2
  591.   ;;
  592.   clipper-orion-bsd* )
  593.     machine=orion105 opsys=bsd4-2
  594.   ;;
  595.  
  596.   ## IBM machines
  597.   i386-ibm-aix1.1 )
  598.     machine=ibmps2-aix opsys=usg5-2-2
  599.   ;;
  600.   i386-ibm-aix1.[23] | i386-ibm-aix* )
  601.     machine=ibmps2-aix opsys=usg5-3
  602.   ;;
  603.   rs6000-ibm-aix3.1 )
  604.     machine=ibmrs6000 opsys=aix3-1
  605.   ;;
  606.   rs6000-ibm-aix3.2 | rs6000-ibm-aix* )
  607.     machine=ibmrs6000 opsys=aix3-2
  608.   ;;
  609.   romp-ibm-bsd4-3 )
  610.     machine=ibmrt opsys=bsd4-3
  611.   ;;    
  612.   romp-ibm-bsd4-2 )
  613.     machine=ibmrt opsys=bsd4-2
  614.   ;;
  615.   romp-ibm-aos4-3 )
  616.     machine=ibmrt opsys=bsd4-3
  617.   ;;    
  618.   romp-ibm-aos4-2 )
  619.     machine=ibmrt opsys=bsd4-2
  620.   ;;
  621.   romp-ibm-aos* )
  622.     machine=ibmrt opsys=bsd4-3
  623.   ;;
  624.   romp-ibm-bsd* )
  625.     machine=ibmrt opsys=bsd4-3
  626.   ;;
  627.   romp-ibm-aix* )
  628.     machine=ibmrt-aix opsys=usg5-2-2
  629.   ;;
  630.  
  631.   ## Integrated Solutions `Optimum V'
  632.   m68*-isi-bsd4.2 )
  633.     machine=isi-ov opsys=bsd4-2
  634.   ;;
  635.   m68*-isi-bsd4.3 )
  636.     machine=isi-ov opsys=bsd4-3
  637.   ;;
  638.  
  639.   ## Intel 386 machines where we do care about the manufacturer
  640.   i[34]86-intsys-sysv* )
  641.     machine=is386 opsys=usg5-2-2
  642.   ;;
  643.  
  644.   ## Prime EXL
  645.   i386-prime-sysv* )
  646.     machine=i386 opsys=usg5-3
  647.   ;;
  648.  
  649.   ## Sequent Symmetry
  650.   i386-sequent-bsd* )
  651.     machine=symmetry opsys=bsd4-3
  652.   ;;
  653.  
  654.   ## Intel 860
  655.   i860-*-sysvr4 )
  656.     machine=i860 opsys=usg5-4
  657.   ;;
  658.  
  659.   ## Silicon Graphics machines
  660.   ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
  661.   m68*-sgi-iris3.5 )
  662.     machine=irist opsys=iris3-5
  663.   ;;
  664.   m68*-sgi-iris3.6 | m68*-sgi-iris*)
  665.     machine=irist opsys=iris3-6
  666.   ;;
  667.   ## Iris 4D
  668.   mips-sgi-irix3.* )
  669.     machine=iris4d opsys=irix3-3
  670.   ;;
  671.   mips-sgi-irix4.* | mips-sgi-irix* )
  672.     machine=iris4d opsys=irix4-0
  673.   ;;
  674.  
  675.   ## Masscomp machines
  676.   m68*-masscomp-rtu )
  677.     machine=masscomp opsys=rtu
  678.   ;;
  679.  
  680.   ## Megatest machines
  681.   m68*-megatest-bsd* )
  682.     machine=mega68 opsys=bsd4-2
  683.   ;;
  684.  
  685.   ## Workstations sold by MIPS
  686.   ## This is not necessarily all workstations using the MIPS processor -
  687.   ## Irises are produced by SGI, and DECstations by DEC.
  688.  
  689.   ## etc/MACHINES lists mips.h and mips4.h as possible machine files,
  690.   ## and usg5-2-2 and bsd4-3 as possible OS files.  The only guidance
  691.   ## it gives for choosing between the alternatives seems to be "Use
  692.   ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with
  693.   ## the BSD world."  I'll assume that these are instructions for
  694.   ## handling two odd situations, and that every other situation
  695.   ## should use mips.h and usg5-2-2, they being listed first.
  696.   mips-mips-usg* )
  697.     machine=mips4
  698.     ## Fall through to the general code at the bottom to decide on the OS.
  699.   ;;
  700.   mips-mips-riscos4* )
  701.     machine=mips4 opsys=bsd4-3
  702.   ;;
  703.   mips-mips-bsd* )
  704.     machine=mips opsys=bsd4-3
  705.   ;;
  706.   mips-mips-* )
  707.     machine=mips opsys=usg5-2-2
  708.   ;;
  709.  
  710.   ## NeXT
  711.   m68*-next-mach* | m68*-next-bsd* )
  712.     machine=next opsys=mach2
  713.   ;;
  714.  
  715.   ## The complete machine from National Semiconductor
  716.   ns32k-ns-genix* )
  717.     machine=ns32000 opsys=usg5-2
  718.   ;;
  719.  
  720.   ## NCR machines
  721.   m68*-ncr-sysv2* | m68*-ncr-sysvr2* )
  722.     machine=tower32 opsys=usg5-2-2
  723.   ;;
  724.   m68*-ncr-sysv3* | m68*-ncr-sysvr3* )
  725.     machine=tower32v3 opsys=usg5-3
  726.   ;;
  727.  
  728.   ## Nixdorf Targon 31
  729.   m68*-nixdorf-sysv* )
  730.     machine=targon31 opsys=usg5-2-2
  731.   ;;
  732.  
  733.   ## Nu (TI or LMI)
  734.   m68*-nu-sysv* )
  735.     machine=nu opsys=usg5-2
  736.   ;;
  737.  
  738.   ## Plexus
  739.   m68*-plexus-sysv* )
  740.     machine=plexus opsys=usg5-2
  741.   ;;
  742.  
  743.   ## Pyramid machines
  744.   ## I don't really have any idea what sort of processor the Pyramid has,
  745.   ## so I'm assuming it is its own architecture.
  746.   pyramid-pyramid-bsd* )
  747.     machine=pyramid opsys=bsd4-2
  748.   ;;
  749.  
  750.   ## Sequent Balance
  751.   ns32k-sequent-bsd4.2 )
  752.     machine=sequent opsys=bsd4-2
  753.   ;;
  754.   ns32k-sequent-bsd4.3 )
  755.     machine=sequent opsys=bsd4-3
  756.   ;;
  757.  
  758.   ## SONY machines
  759.   m68*-sony-bsd4.2 )
  760.     machine=news opsys=bsd4-2
  761.   ;;
  762.   m68*-sony-bsd4.3 )
  763.     machine=news opsys=bsd4-3
  764.   ;;
  765.   mips-sony-bsd* )
  766.     machine=news-risc opsys=bsd4-3
  767.   ;;
  768.  
  769.   ## Stride
  770.   m68*-stride-sysv* )
  771.     machine=stride opsys=usg5-2
  772.   ;;
  773.  
  774.   ## Suns
  775.   *-sun-sunos* | *-sun-bsd* | *-sun-solaris* )
  776.     case "${configuration}" in
  777.       m68*-sunos1* )    machine=sun1 ;;
  778.       m68*-sunos2* )    machine=sun2 ;;
  779.       m68* )        machine=sun3 ;;
  780.       i[34]86* )    machine=sun386 ;;
  781.       sparc* )        machine=sparc ;;
  782.       * )        unported=true ;;
  783.     esac
  784.     case "${configuration}" in
  785.       *-sunos4.0*      ) opsys=sunos4-0 ;;
  786.       *-sunos4.1.3*      ) opsys=sunos4-1-3 ;;
  787.       *-sunos4* | *-sunos ) opsys=sunos4-1 ;;
  788.       *-sunos5* | *-solaris* ) opsys=sol2 ;;
  789.       *              ) opsys=bsd4-2   ;;
  790.     esac
  791.   ;;
  792.  
  793.   ## Tadpole 68k
  794.   m68*-tadpole-sysv* )
  795.     machine=tad68k opsys=usg5-3
  796.   ;;
  797.  
  798.   ## Tahoe machines
  799.   tahoe-tahoe-bsd4.2 )
  800.     machine=tahoe opsys=bsd4-2
  801.   ;;
  802.   tahoe-tahoe-bsd4.3 )
  803.     machine=tahoe opsys=bsd4-3
  804.   ;;
  805.  
  806.   ## Tandem Integrity S2
  807.   mips-tandem-sysv* )
  808.     machine=tandem-s2 opsys=usg5-3
  809.   ;;
  810.  
  811.   ## Tektronix XD88
  812.   m88k-tektronix-sysv3 )
  813.   machine=tekXD88 opsys=usg5-3
  814.   ;;
  815.  
  816.   ## Tektronix 16000 box (6130?)
  817.   ns16k-tektronix-bsd* )
  818.     machine=ns16000 opsys=bsd4-2
  819.   ;;
  820.   ## Tektronix 4300
  821.   ## src/m/tek4300.h hints that this is a m68k machine.
  822.   m68*-tektronix-bsd* )
  823.     machine=tex4300 opsys=bsd4-3
  824.   ;;
  825.  
  826.   ## Titan P2 or P3
  827.   ## We seem to have lost the machine-description file titan.h!
  828.   titan-titan-sysv* )
  829.     machine=titan opsys=usg5-3
  830.   ;;
  831.   
  832.   ## Ustation E30 (SS5E)
  833.   m68*-unisys-uniplus* )
  834.     machine=ustation opsystem=unipl5-2
  835.   ;;
  836.  
  837.   ## Vaxen.
  838.   vax-dec-* )
  839.     machine=vax
  840.     case "${configuration}" in
  841.       *-bsd4.1 )                     opsys=bsd4-1 ;;
  842.       *-bsd4.2 | *-ultrix[0-3].* | *-ultrix4.0 )    opsys=bsd4-2 ;;
  843.       *-bsd4.3 | *-ultrix* )                 opsys=bsd4-3 ;;
  844.       *-bsd386 )                    opsys=bsd386 ;;
  845.       *-sysv[01]* | *-sysvr[01]* )             opsys=usg5-0 ;;
  846.       *-sysv2* | *-sysvr2* )                opsys=usg5-2 ;;
  847.       *-vms* )                         opsys=vms ;;
  848.       * )                         unported=true
  849.     esac
  850.   ;;
  851.  
  852.   ## Whitechapel MG1
  853.   ns16k-whitechapel-* )
  854.     machine=mg1
  855.     ## We don't know what sort of OS runs on these; we'll let the
  856.     ## operating system guessing code below try.
  857.   ;;
  858.  
  859.   ## Wicat
  860.   m68*-wicat-sysv* )
  861.     machine=wicat opsys=usg5-2
  862.   ;;
  863.  
  864.   ## Intel 386 machines where we don't care about the manufacturer
  865.   i[34]86-*-* )
  866.     machine=intel386
  867.     case "${configuration}" in
  868.       *-isc1.* | *-isc2.[01]* )    opsys=386-ix ;;
  869.       *-isc2.2 )        opsys=isc2-2 ;;
  870.       *-isc* )            opsys=isc3-0 ;;
  871.       *-esix5* )        opsys=esix5r4 ;;
  872.       *-esix* )            opsys=esix ;;
  873.       *-xenix* )        opsys=xenix ;;
  874.       *-linux* )        opsys=linux ;;
  875.       *-sco3.2v4* )        opsys=sco4 ;;
  876.       *-bsd386* )        opsys=bsd386 ;;
  877.       *-386bsd )            opsys=386bsd ;;
  878.       ## Otherwise, we'll fall through to the generic opsys code at the bottom.
  879.     esac
  880.   ;;
  881.  
  882.   * )
  883.     unported=true
  884.   ;;
  885. esac
  886.  
  887. ### If the code above didn't choose an operating system, just choose
  888. ### an operating system based on the configuration name.  You really
  889. ### only want to use this when you have no idea what the right
  890. ### operating system is; if you know what operating systems a machine
  891. ### runs, it's cleaner to make it explicit in the case statement
  892. ### above.
  893. if [ x"${opsys}" = x ]; then
  894.   case "${configuration}" in
  895.     *-bsd4.[01] )    opsys=bsd4-1 ;;
  896.     *-bsd4.2 )        opsys=bsd4-2 ;;
  897.     *-bsd4.3 )        opsys=bsd4-3 ;;
  898.     *-sysv0 | *-sysvr0 )        opsys=usg5-0 ;;
  899.     *-sysv2 | *-sysvr2 )        opsys=usg5-2 ;;
  900.     *-sysv2.2 | *-sysvr2.2 )        opsys=usg5-2-2 ;;
  901.     *-sysv3 | *-sysvr3 )        opsys=usg5-3 ;;
  902.     *-sysv4 | *-sysvr4 )        opsys=usg5-4 ;;
  903.     *-sysv4.2 | *-sysvr4.2 )        opsys=usg5-4-2 ;;
  904.     * )
  905.       unported=true
  906.     ;;
  907.   esac
  908. fi
  909.  
  910. if $unported ; then
  911.   (echo "${progname}: Emacs hasn't been ported to \`${configuration}' systems."
  912.    echo "${progname}: Check \`etc/MACHINES' for recognized configuration names."
  913.   ) >&2
  914.   exit 1
  915. fi
  916.  
  917. machfile="m/${machine}.h"
  918. opsysfile="s/${opsys}.h"
  919.  
  920. ]
  921. AC_PREPARE(lisp)
  922. AC_CONFIG_HEADER(src/config.h)
  923. [
  924.  
  925. #### Choose a compiler.
  926. case ${with_gcc} in
  927.   "yes" ) CC="gcc" GCC=1 ;;
  928.   "no"  ) CC="cc"        ;;
  929.   * )
  930.     ] AC_PROG_CC [
  931. esac
  932.  
  933. #### Some other nice autoconf tests.  If you add a test here which
  934. #### should make an entry in src/config.h, don't forget to add an
  935. #### #undef clause to src/config.h.in for autoconf to modify.
  936. ]
  937. dnl checks for programs
  938. AC_LN_S
  939. AC_PROG_CPP
  940. AC_PROG_INSTALL
  941. AC_PROG_YACC
  942.  
  943. dnl checks for UNIX variants that set `DEFS'
  944.  
  945. dnl checks for header files
  946. AC_HAVE_HEADERS(sys/timeb.h sys/time.h)
  947. AC_STDC_HEADERS
  948. AC_TIME_WITH_SYS_TIME
  949.  
  950. dnl checks for library files
  951. AC_HAVE_LIBRARY(-ldnet)
  952.  
  953. dnl checks for typedefs
  954. AC_RETSIGTYPE
  955.  
  956. dnl checks for functions
  957. AC_ALLOCA
  958. AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename closedir)
  959.  
  960. dnl checks for structure members
  961. AC_STRUCT_TM
  962. AC_TIMEZONE
  963.  
  964. dnl checks for compiler characteristics
  965. AC_CONST
  966.  
  967. dnl checks for operating system services
  968. AC_LONG_FILE_NAMES
  969.  
  970. dnl other checks for UNIX variants
  971. [
  972.  
  973.  
  974. #### Choose a window system.
  975. echo "Checking window system."
  976.  
  977. window_system=''
  978. case "${with_x}" in
  979.   yes )
  980.     window_system=${window_system}x11
  981.   ;;
  982.   no )
  983.     window_system=${window_system}none
  984. esac
  985. case "${with_x11}" in
  986.   yes )
  987.     window_system=${window_system}x11
  988.   ;;
  989. esac
  990. case "${with_x10}" in
  991.   yes )
  992.     window_system=${window_system}x10
  993.   ;;
  994. esac
  995.  
  996. case "${window_system}" in
  997.   "none" | "x11" | "x10" ) ;;
  998.   "" )
  999.     echo "  No window system specified.  Looking for X11."
  1000.     window_system=none
  1001.     if [ -r /usr/lib/libX11.a \
  1002.      -o -d /usr/include/X11 \
  1003.          -o -d /usr/X386/include \
  1004.      -o -d ${x_includes}/X11 ]; then
  1005.       window_system=x11
  1006.     fi
  1007.   ;;
  1008.   * )
  1009.     echo "Don't specify the window system more than once." >&2
  1010.     exit 1
  1011.   ;;
  1012. esac
  1013.  
  1014. case "${window_system}" in
  1015.   x11 )
  1016.     HAVE_X_WINDOWS=yes
  1017.     HAVE_X11=yes
  1018.     echo "  Using X11."
  1019.   ;;
  1020.   x10 )
  1021.     HAVE_X_WINDOWS=yes
  1022.     HAVE_X11=no
  1023.     echo "  Using X10."
  1024.   ;;
  1025.   none )
  1026.     HAVE_X_WINDOWS=no
  1027.     HAVE_X11=no
  1028.     echo "  Using no window system."
  1029.   ;;
  1030. esac
  1031.  
  1032. ### If we're using X11, we should use the X menu package.
  1033. HAVE_X_MENU=no
  1034. case ${HAVE_X11} in
  1035.   yes )
  1036.     HAVE_X_MENU=yes
  1037.   ;;
  1038. esac
  1039.  
  1040. #### Extract some information from the operating system and machine files.
  1041.  
  1042. echo "Examining the machine- and system-dependent files to find out"
  1043. echo " - which libraries the lib-src programs will want, and"
  1044. echo " - whether the GNU malloc routines are usable."
  1045.  
  1046. ### It's not important that this name contain the PID; you can't run
  1047. ### two configures in the same directory and have anything work
  1048. ### anyway.
  1049. tempcname="conftest.c"
  1050.  
  1051. echo '
  1052. #include "'${srcdir}'/src/'${opsysfile}'"
  1053. #include "'${srcdir}'/src/'${machfile}'"
  1054. #ifndef LIBS_MACHINE
  1055. #define LIBS_MACHINE
  1056. #endif
  1057. #ifndef LIBS_SYSTEM
  1058. #define LIBS_SYSTEM
  1059. #endif
  1060. #ifndef C_SWITCH_SYSTEM
  1061. #define C_SWITCH_SYSTEM
  1062. #endif
  1063. @configure@ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
  1064. @configure@ c_switch_system=C_SWITCH_SYSTEM
  1065.  
  1066. #ifdef UNEXEC
  1067. @configure@ unexec=UNEXEC
  1068. #else
  1069. @configure@ unexec=unexec.o
  1070. #endif
  1071.  
  1072. #ifdef SYSTEM_MALLOC
  1073. @configure@ system_malloc=yes
  1074. #else
  1075. @configure@ system_malloc=no
  1076. #endif
  1077.  
  1078. #ifndef C_DEBUG_SWITCH
  1079. #define C_DEBUG_SWITCH -g
  1080. #endif
  1081.  
  1082. #ifndef C_OPTIMIZE_SWITCH
  1083. #define C_OPTIMIZE_SWITCH -O
  1084. #endif
  1085.  
  1086. #ifdef __GNUC__
  1087. @configure@ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH
  1088. #else
  1089. @configure@ CFLAGS=C_DEBUG_SWITCH
  1090. #endif
  1091. ' > ${tempcname}
  1092. # The value of CPP is a quoted variable reference, so we need to do this
  1093. # to get its actual value...
  1094. CPP=`eval "echo $CPP"`
  1095. eval `${CPP} -Isrc ${tempcname} \
  1096.        | grep '@configure@' \
  1097.        | sed -e 's/^@configure@ \([^=]*=\)\(.*\)$/\1"\2"/'`
  1098. rm ${tempcname}
  1099.  
  1100. ### Compute the unexec source name from the object name.
  1101. UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
  1102.  
  1103. # Do the opsystem or machine files prohibit the use of the GNU malloc?
  1104. # Assume not, until told otherwise.
  1105. GNU_MALLOC=yes
  1106. if [ "${system_malloc}" = "yes" ]; then
  1107.   GNU_MALLOC=no
  1108.   GNU_MALLOC_reason="
  1109.   (The GNU allocators don't work with this system configuration.)"
  1110. fi
  1111.  
  1112. if [ x"${REL_ALLOC}" = x ]; then
  1113.   REL_ALLOC=${GNU_MALLOC}
  1114. fi
  1115.  
  1116. LISP_FLOAT_TYPE=yes
  1117.  
  1118.  
  1119. #### Add the X libraries to the list, and check for some functions found there.
  1120. CFLAGS_save="$CFLAGS"
  1121. CFLAGS="${CFLAGS} ${LD_SWITCH_X_SITE}"
  1122. ]
  1123. AC_HAVE_LIBRARY(-lXbsd)
  1124. [
  1125. LIBS_save="$LIBS"
  1126. if [ "${HAVE_X11}" = "yes" ] ; then
  1127.   LIBS="-lX11 ${LIBS}"
  1128. fi
  1129. ]
  1130. AC_HAVE_FUNCS(XrmSetDatabase random)
  1131. [
  1132. CFLAGS="$CFLAGS_save"
  1133. LIBS="$LIBS_save"
  1134.  
  1135. case "${window_system}:${LIBS}" in
  1136.   x11:*-lXbsd* )
  1137.     if [ -d /usr/X386/include ]; then
  1138.       HAVE_XFREE386=yes
  1139.       if [ "${C_SWITCH_X_SITE}" = "" ]; then
  1140.     C_SWITCH_X_SITE="-I/usr/X386/include"
  1141.       fi
  1142.     fi
  1143.   ;;
  1144. esac
  1145.  
  1146. #### Find out which version of Emacs this is.
  1147. version=`grep 'defconst[     ]*emacs-version' ${srcdir}/lisp/version.el \
  1148.      | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'`
  1149. if [ x"${version}" = x ]; then
  1150.   echo "${progname}: can't find current emacs version in
  1151.     \`${srcdir}/lisp/version.el'." >&2
  1152.   exit 1
  1153. fi
  1154.  
  1155.  
  1156. #### Specify what sort of things we'll be editing into Makefile and config.h.
  1157. ]
  1158. AC_SUBST(configuration)
  1159. AC_SUBST(version)
  1160. AC_SUBST(srcdir)
  1161. AC_SUBST(c_switch_system)
  1162. AC_SUBST(libsrc_libs)
  1163. AC_SUBST(rip_paths)
  1164. AC_SUBST(inst_paths)
  1165. AC_SUBST(LD_SWITCH_X_SITE)
  1166. AC_SUBST(C_SWITCH_X_SITE)
  1167. AC_SUBST(CFLAGS)
  1168. AC_SUBST(prefix)
  1169. AC_SUBST(exec_prefix)
  1170.  
  1171. AC_DEFINE_UNQUOTED(config_machfile,  "\"${machfile}\"")
  1172. AC_DEFINE_UNQUOTED(config_opsysfile, "\"${opsysfile}\"")
  1173. AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE})
  1174. AC_DEFINE_UNQUOTED(C_SWITCH_X_SITE,  ${C_SWITCH_X_SITE})
  1175. AC_DEFINE_UNQUOTED(UNEXEC_SRC,       ${UNEXEC_SRC})
  1176.  
  1177. [
  1178. if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then
  1179.   ] AC_DEFINE(HAVE_X_WINDOWS) [
  1180. fi
  1181. if [ "${HAVE_X11}" = "yes" ] ; then
  1182.   ] AC_DEFINE(HAVE_X11) [
  1183. fi
  1184. if [ "${HAVE_XFREE386}" = "yes" ] ; then
  1185.   ] AC_DEFINE(HAVE_XFREE386) [
  1186. fi
  1187. if [ "${HAVE_X_MENU}" = "yes" ] ; then
  1188.   ] AC_DEFINE(HAVE_X_MENU) [
  1189. fi
  1190. if [ "${GNU_MALLOC}" = "yes" ] ; then
  1191.   ] AC_DEFINE(GNU_MALLOC) [
  1192. fi
  1193. if [ "${REL_ALLOC}" = "yes" ] ; then
  1194.   ] AC_DEFINE(REL_ALLOC) [
  1195. fi
  1196. if [ "${LISP_FLOAT_TYPE}" = "yes" ] ; then
  1197.   ] AC_DEFINE(LISP_FLOAT_TYPE) [
  1198. fi
  1199.  
  1200.  
  1201. #### Report on what we decided to do.
  1202. echo "
  1203.  
  1204. Configured for \`${configuration}'.
  1205.  
  1206.   Where should the build process find the source code?    ${srcdir}
  1207.   What operating system and machine description files should Emacs use?
  1208.         \`${opsysfile}' and \`${machfile}'
  1209.   What compiler should emacs be built with?               ${CC} ${CFLAGS}
  1210.   Should Emacs use the GNU version of malloc?             ${GNU_MALLOC}${GNU_MALLOC_reason}
  1211.   Should Emacs use the relocating allocator for buffers?  ${REL_ALLOC}
  1212.   What window system should Emacs use?                    ${window_system}${x_includes+
  1213.   Where do we find X Windows header files?                }${x_includes}${x_libraries+
  1214.   Where do we find X Windows libraries?                   }${x_libraries}
  1215.  
  1216. "
  1217. ]
  1218. AC_OUTPUT(Makefile)
  1219.